package com.spzx.product.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spzx.product.domain.Brand;
import com.spzx.product.domain.CategoryBrand;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BrandMapper {


    public List<Brand> selectBrandlist(Brand brand);

    Brand selectBrandById(Long id);

    int insertBrand(Brand brand);


    Brand selectBrandByName(String name);

    int updateBrandByid(Brand brand);

    int removeBrandByid(@Param(value = "ids") List<Long> ids);

    List<Brand> selectBrandListC3Id(Long c3Id);

    List<Brand> selectBrandList2();

}
